package com.dou.yygh.hosp.service;

import com.dou.yygh.model.hosp.Hospital;
import com.dou.yygh.vo.hosp.HospitalQueryVo;
import com.dou.yygh.vo.hosp.HospitalSetQueryVo;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA 2021.1 x64
 *
 * @Author: 窦义超
 * @Date: 2021/08/2021/8/26/11:42
 * @Description:
 */
@Service
public interface HospitalService {
    void save(Map<String, Object> map);

    Hospital getByHoscode(String hoscode);
    //医院列表(条件查询)
    Page<Hospital> selectHospPage(Integer page, Integer limit, HospitalQueryVo hospitalQueryVo);

    void updateStatus(String id, Integer status);

   Map<String, Object> getHospById(String id);

    String getHospName(String hoscode);

    List<Hospital> findByHosname(String hosname);
    //根据医院编号获取预约挂号详情
    Map<String, Object> item(String hoscode);
}
